#pragma once
#include "Header.h"
#include "infinityhook.h"

PCHAR PsGetProcessImageFileName(IN PEPROCESS Process);

typedef NTSTATUS(NTAPI* FnNtOpenProcess)(
    _Out_ PHANDLE ProcessHandle,
    _In_ ACCESS_MASK DesiredAccess,
    _In_ POBJECT_ATTRIBUTES ObjectAttributes,
    _In_opt_ PCLIENT_ID ClientId
    );


void HkSystemRoutine();
void HkCancel();
